namespace Beauty.Net.JsonWebToken.Core;

/// <summary>
/// 令牌声明信息
/// </summary>
public class TokenClaims
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public string UserId { get; set; } = string.Empty;
    
    /// <summary>
    /// 令牌类型
    /// </summary>
    public string TokenType { get; set; } = string.Empty;
    
    /// <summary>
    /// 颁发时间
    /// </summary>
    public DateTime IssuedAt { get; set; }
    
    /// <summary>
    /// 过期时间
    /// </summary>
    public DateTime ExpiresAt { get; set; }
    
    /// <summary>
    /// 自定义声明
    /// </summary>
    public Dictionary<string, object>? CustomClaims { get; set; }
}